/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package hk.ces.spring.service;

import com.ces.newPOS.admin.dao.client.UserDao;
import java.util.HashMap;
import java.util.Map;

/**
 *
 * @author Silence
 */
public class CustomerManagerImpl implements CustomerManager{
    
    UserDao userDao;

    public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }
    @Override
    public void addCustomer(String username,String password) {
        
    }

    @Override
    public Map findByUsernameandPassword(String username, String password) {
        Map userinfo = new HashMap();
        
        userinfo = userDao.findByUsernameandPassword(username,password);
        
        return userinfo;
    }
    
}
